﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HZ.Supervise.Model
{
    [Table(TableName = "TB_MessageSend")]
    [Serializable()]
    public class MessageSend
    {
        /// <summary>
        /// 消息编号编号
        /// </summary>
        [HZ.Column(PrimaryKey = true)]
        public string Id { get; set; }

        /// <summary>
        /// 类型名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 详细规则编号
        /// </summary>
        public string MessageDetailId { get; set; }

        /// <summary>
        /// 表主键
        /// </summary>
        public string TableId { get; set; }

        /// <summary>
        /// 表名
        /// </summary>
        public string TableName { get; set; }

        /// <summary>
        /// 消息内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 用户编号
        /// </summary>
        public string UserId { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime CreateTime { get; set; }


        /// <summary>
        /// 是否启用 true 启用，false 不启用
        /// </summary>
        public bool Is_Read { get; set; }
        /// <summary>
        /// 地区 编号
        /// </summary>
        public string AreaId { get; set; }

        /// <summary>
        /// 地区名称
        /// </summary>
        public string AreaName { get; set; }

        /// <summary>
        /// 医院名称
        /// </summary>
        public string HospitalName { get; set; }

        /// <summary>
        /// 医院编号
        /// </summary>
        public string HospitalId { get; set; }

        /// <summary>
        /// 企业编号
        /// </summary>
        public string CompanyId_Jy { get; set; }

        /// <summary>
        /// 企业名称
        /// </summary>
        public string CompanyName_Jy { get; set; }
        /// <summary>
        /// 药品类型编号
        /// </summary>
        public string SortId { get; set; }


        /// <summary>
        /// 药品编号名称
        /// </summary>
        public string SortName { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public Int64 Numbers { get; set; }

        /// <summary>
        /// 金额
        /// </summary>
        public decimal Amount { get; set; }


        /// <summary>
        /// 周期数量
        /// </summary>
        public int Days { get; set; }

        /// <summary>
        /// 周期类型，年，月，日
        /// </summary>
        public string DayType { get; set; }

        /// <summary>
        /// 药品编号
        /// </summary>
        public string GoodsID { get; set; }

        /// <summary>
        /// 药品名称
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 订单编号
        /// </summary>
        public string BllId { get; set; }


        /// <summary>
        /// 原规则编号
        /// </summary>
        public int TypeId { get; set; }


        /// <summary>
        /// 订单编号
        /// </summary>
        public string Level { get; set; }
    }
}
